#ifndef H_TIMELINEINSPECTOR
#define H_TIMELINEINSPECTOR

#include "listButton.h"
#include "action.h"
#include "timelineButton.h"

class TimelineInspector: public ListButton{

public:

    bool bOpen;
    float tabHeight;
    float timeScale;

    vector<Actor*>  timelineActors;
    vector<Action*> timelineActions;

    TimelineInspector();
    virtual ~TimelineInspector();

    virtual void setup();
    virtual void update(double deltaTime);
    virtual void drawPlane();

    virtual void mouseOver();
    virtual void mouseDrag();

    virtual void clickedLeft();
    virtual void assembleList();

    virtual void placeTimelineButtons();

    virtual void addTimeline(int i, bool bSkeletal);

    virtual void trigger(Actor* other);

    virtual void clickedRight();
    virtual void focusClick();
    virtual void deselect(int depth);
    virtual void create();

    virtual void zoomTimeScale( float val );
    virtual void removeTimeline(int i);
};
#endif // TIMELINEINSPECTOR
